<include file="Public:header" />
<strong>添加广告</strong>
<a href="{:U('Ad/')}">返回</a>
<form action="" method="post" enctype="multipart/form-data">
<table>
	<tr>
		<td>广告类型</td>
		<td>
			<select name="at">
                    <foreach name="at" item="t">
                        <option value="{$t.id}">{$t.name}</option>
                    </foreach>
            </select>
		</td>
	</tr>
	<tr>
		<td>广告名称</td>
		<td>
			<input name="adName" type="text"/>
		</td>
	</tr>
	<tr>
		<td>广告关键字</td>
		<td>
			<input name="keyword" type="text"/>
		</td>
	</tr>
	<tr>
		<td>广告图片</td>
		<td>
			<input name="image" type="file"/>
		</td>
	</tr>
	<tr>
		<td colspan="2">
			<input type="submit" value=" 提交 " />
			
		</td>
	</tr>
</table>
</form>
<include file="Public:footer" />